package com.promise.jokerdream.response.pc

import kotlinx.serialization.Serializable

// 符石百宝箱回包
@Serializable
data class QueryTreasureChestResponse(
    override val result: Int,
    override val msg: String = "",
    // 符石商品列表
    val goods: List<TreasureChestGoodsModel> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

// 符石商品
@Serializable
data class TreasureChestGoodsModel(
    // 唯一id
    val id: Int = 0,

    val baseId: Int = 0,
    // 符石名
    val name: String = "",
    // 符石描述
    val desc: String = "",
    // 价格
    val price: Int = 0,
    // 是否已购买，0为未购买、1为已购买
    val isSoldOut: Int = 0,
)
